package microcredit.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import microcredit.model.base.Model;

@Entity(name="version")
public class VersionInfo extends Model implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@Id
	private long id;
	
	private String version;
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		Object oldid = this.id;
		this.id = id;
		firePropertyChange("id", oldid, this.id);
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		Object oldversion = this.version;
		this.version = version;
		firePropertyChange("version", oldversion, this.version);
	}
	
}
